package com.yxjwzpx.management.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维保公司对象 maintain_company
 * 
 * @author yxjwzpx
 * @date 2025-04-09
 */
public class MaintainCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维保公司ID，主键 */
    private Long companyId;

    /** 用户ID，外键关联sys_user.user_id（对应维保公司登录账号） */
    @Excel(name = "用户ID，外键关联sys_user.user_id", readConverterExp = "对=应维保公司登录账号")
    private Long userId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 公司地址（可选） */
    @Excel(name = "公司地址", readConverterExp = "可=选")
    private String address;

    /** 营业执照或资质编号（可选） */
    @Excel(name = "营业执照或资质编号", readConverterExp = "可=选")
    private String licenseNo;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setLicenseNo(String licenseNo) 
    {
        this.licenseNo = licenseNo;
    }

    public String getLicenseNo() 
    {
        return licenseNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("userId", getUserId())
            .append("companyName", getCompanyName())
            .append("contactPhone", getContactPhone())
            .append("address", getAddress())
            .append("licenseNo", getLicenseNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
